@import "../../style/constant.scss";

.container {
  display: flex;
  flex-direction: column;
  padding: 0 16px 16px
}

.tabBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chartContainer {
  margin-top: 20px;
  margin-bottom: 20px;
}

.unit {
  margin-top: 20px;
  margin-bottom: 5px;
  align-self: flex-end;
  color: #C2C2C2;
  font-size: 12px;
  transform: scale(0.83);
  transform-origin: 100% 50%;
}

.tabBarItem {
  width: 100px;
  position: relative;
  height: 36px;
  padding-top: 8px;
  display: flex;
  justify-content: center;

  .tabBarItemText {
    color: $weak;
    font-size: 14px;
    text-align: center;
    line-height: 20px;
    height: 20px;
  }

  &.activeTab {
    .tabBarItemText {
      color: $primaryBlack;
      font-weight: 500;
    }

    .indicate {
      visibility: visible;
    }
  }
}

.indicate {
  width: 36px;
  height: 3px;
  background-color: #96E4C0;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  visibility: hidden;
}
